package com.hdw.job.constant;

public interface JobConstant {
    //job参数名称定义
    String JOB_TABLENAME = "tableName"; //目标表名
    String JOB_DELSQL = "delSql"; //删除sql/前置SQL
    String JOB_AFTER_SQL = "afterSql"; //删除sql
    String JOB_QUERYSQL = "querySql"; //查询sql
    String JOB_D_BEGIN = "dBegin";//开始时间字符串
    String JOB_D_END = "dEnd"; //结束时间字符串
    String JOB_DT_DAY_BEGIN = "DT_DAY_BEGIN";
    String JOB_DT_DAY_END = "DT_DAY_END";
    String JOB_DES = "des";//抽取描述
    String JOB_TYPE = "jobType";//任务类型
    String JOB_DB_SOU = "idDbSou";//来源库
    String JOB_DB_TAR = "idDbTar";//目标库
    String JOB_GROUP_ID = "groupId";//组
    String JOB_EXE_TYPE = "exeType";//执行方式

    Integer JOB_EXE_TYPE_SCHEDULE = 0;  //调度执行
    Integer JOB_EXE_TYPE_MANUAL = 1;  //手动执行

    String JOB_TYPE_ODS = "ODS";
    String JOB_TYPE_DIM = "DIM";
    String JOB_TYPE_DW = "DW";
    String JOB_TYPE_DM = "DM";
    String JOB_TYPE_XXLJOB = "XXL-JOB";


    //job名称
    String JOBNAME_DW_DM = "dwToDmJobBean";
    String JOBNAME_HOS_HDW = "hosToHdwJobBean";
    String JOBNAME_ODS_DW="odsToDwJobBean";

}
